/* screen reader only */
.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* margin:-1px;
    padding:0; */
  }

/* smooth scrooling with pagelinks, target the html element !!!!!!!!!!!!!!!!!!!!! */
html {
    scroll-behavior: smooth;
    font-family: 'Open Sans', Arial, sans-serif;
  }
  
  /* no b-points */
   ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Open Sans','Sarabun', Arial, sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  *, *::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  
  h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', Arial, sans-serif;
  color:#192740;
  font-weight: 300;
  }

  
   h6
  {color: rgb(39.199829%, 12.5%, 100%);
    color:#192740;
    color: #142233;
    color:#DAE5ED;
    color:#cedbeb;
    color:#85AED0;
    color:#4b6d90;
    color:#B76E79;
    color: #fffff0;
    color: #212936;
    color: #FDF5E6;
    color: #89CFF0;
    color: #F7CAC9;
    color: #273d63;
    color: #21ebff;
    

  }
 /*

  */

  /* font sizes */
  :root {
    --base-size:1.2rem; /* 1em = 16px 1rem */
    --type-scale: 1.15; /*  1.25 */
    --smallest:calc(var(--base-size)/(1.15*var(--type-scale)));
    --h5:calc(var(--base-size)*var(--type-scale));
    --h4:calc(var(--h5)*var(--type-scale)); /* calc(1em*1.2*1.2) */
    --h3:calc(var(--h4)*var(--type-scale));
    --h2:calc(var(--h3)*var(--type-scale));
    --h1:calc(var(--h2)*var(--type-scale)); /* calc(1em*1.2*1.2*1.2*1.2) */
  }
  
  h1{font-size: var(--h1);
    margin-top: var(--h1);}
  h2{font-size: var(--h2);
    margin-top: var(--h2);}
  h3{font-size: var(--h3);
    margin-top: var(--h3);}
  h4{font-size: var(--h4);
    margin-top: var(--h4);}
  h5{font-size: var(--h5);
    margin-top: var(--h6);}
  

  small {font-size: var(--smallest);}


.smss {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}  

@media screen and (min-width:750px) {
    
    .page-grid {
        display: grid;
        grid-template-columns: 1fr  3fr 1fr;
        grid-template-rows: minmax(1fr, auto) 5fr minmax(1fr, auto);
        grid-template-areas: "smss smss smss"
        "aside main sidebar"
        "f1 foot f2";
        gap: 1rem;
        margin-top: 1rem;
    }
    .smss{
        grid-area: smss;
        display:grid;
        grid-template-columns: subgrid;
        grid-template-areas: "sf nav aah";
        gap: 1rem;
    }
    .sf,  .aah {
        display: grid;
        /* grid-area: sf; */
        align-items: baseline;
        align-content: end;
        justify-content:right;
        /* gap: 0.5rem; */
      }
      .aah {
        grid-area: aah; 
        justify-content:left;
      
      }
      .sf { grid-area: sf;}
      nav {
        display: grid;
        align-content: end;
        grid-area: nav;
       }
      
      nav ul {
        display: flex;
        flex-flow: row;
        justify-content: space-around;
        align-content:end;
        flex-direction: row;
      }
}


.sf, nav, .aah, footer, .f1, .f2 { 
  background-color: #142233;
  outline: #142233 1rem solid; 
 
}

.sf a, nav a, .aah a {
  text-decoration: none;
  display: block;
  color:#89CFF0;
  transition: 0.5s ease-in-out;
}

/* .sf a:hover,.aah a:hover {
  font-weight: 400;
  color: pink;
} */

/* nav */






nav a, .sf a, .aah a {
  border-radius: 5px;
  padding: 0 .5rem;
}
.sf a:hover, nav a:hover, .aah a:hover {
  background-color: rgba(223, 227, 235, 0.2);
}
/* nav end*/

main {
  grid-area: main;
  /* border-left: 1px solid #192740;
  border-right: 1px solid #192740; */ 
  box-shadow: 1px 0 5px #192740;
  padding: 1.5rem;
}

main p {
  text-align: justify;
  margin-block: 1rem;
}


footer {
  grid-area: foot;
  color: #89CFF0;
  text-align: center;
  padding-block: 1rem;
}
.f1 {
  grid-area: f1;
}
.f2 {
  grid-area: f2;
}



.ppImg, .img2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.ppImg img:hover, .img2 img:hover {
        transform: scale(1.25);
        transition: 1s ease-in-out;
}


.img2 {
  grid-template-columns: 2fr 1fr;
  font-size: small;
}
.img2 p {
  align-self: center;
}

.ppImg img, .img2 img {
  display: block;
  width: 100%;
}



main ul{
  list-style-type: disc; 
  font-size: 1.2rem;
  text-align: justify;
}

main li {
  margin-block-end: 0.3rem;
  padding-inline-start: .3rem;
  margin-inline-start: 1rem;
}

main a {
  text-decoration: none;
  color: #273d63;
}

/* table */
th, td:first-child {
  background-color: #142233;
  
}

td {
  background-color: #4b6d90;
  
}

td:not(td:first-child){
  text-align: end;
}

th, td {
  color: white;
  padding: 0.3rem;
}

tr:nth-child(2n) td{
  background-color: #273d63;
}

tr:nth-child(2n) td:first-child {
  background-color: #142233;
}

table {
  width: 100%;
  margin-block: 1rem;
}




tr:hover {
  transform: scale(1.001);
  transition: .25s;
}
/* table end */

.nm {
  height: 3rem;
  width: 3rem;
}
.nm img {
  width: 100%;
}

.aad{
  display: flex;
  flex-flow: row;
  gap: .5rem;
  margin-block-start: 2rem;
}

/* bread crumbs */
.drobtinice{
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  color: #192740;
  list-style-type: none;
  margin: 0;
}
.drobtinice li {
  margin-inline-start: 0;
  padding-inline-start: 0;
}

.drobtinice li + li::before {
  padding: 5px;
  color: #192740;
  content: "/\00a0";
}

.drobtinice li:last-of-type a {
  color: #4b6d90;
}
/* bread crumbs end*/


@media screen and (min-width:750px) {
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
/* card*/
.card {
  display: grid;
  grid-template-rows: 1fr 2fr; 
  margin-block-start: 1rem; 
  max-height: 70vh;
  box-shadow: -1px -1px 2px rgba(255,255,255, .5), 
              3px 3px 5px rgba(0,0,0,.2);
  border-radius: .75rem;
  overflow: hidden;
}

@media screen and (min-width:750px) {
  .card {
    height: calc(100vh/2.1);
    grid-template-rows: 2fr 3fr;
    max-height: 100vh;
  }
}

.cardtext { 
  padding: 0.3rem 1rem 0.3rem;
  display: grid;
  overflow: hidden;
  background-color: #2129360e;
}


.cardtext p{
  justify-self: flex-start;
  margin: 0;
  padding: 0;
}

.cardtext button {
  border-radius: 10px;
  padding: .5rem 1rem;
  background-color: #89CFF0;
  border: #21ebff;
  color: #142233;
  justify-self: end;
}

.cardtext button:hover {
  background-color: #142233;
  border: #142233;
  transition: .75s ease-in-out;
}

.cardtext a {
  color: #142233;
  display:block;
}
.cardtext button:hover a {
  color: #21ebff;
  transition: .75s ease-in-out;
}

.card img{
  width: 100%;
}

.cardimg {
  display: flex;
  align-content: center;
  align-items: center;
  background-color: #142233; 
}
.card img:hover {
  transform: none;
}
/* card end*/

/* frimg */
.frimg {
  float: right;
  width: 40%;
  padding: 1rem;
  box-shadow: -1px -1px 2px rgba(255,255,255, .5), 
              3px 3px 5px rgba(0,0,0,.2);
  border-radius: .75rem;
  margin-inline-start: 1.5rem;
  margin-block-start: .7rem;
}
/* frimg end*/

/* home list */
.lst {
  list-style-type: circle;
}
/* home list end*/